home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
UTILITY
/
CT43C.ARJ
/
VT11.DOC
< prev
Wrap
Text File
|
1992-01-29
|
8KB
|
159 lines
Program: Video Test
Version: 1.10
Date: January 29, 1992
Author: George Spafford
Purpose:
To demonstrate the performance of different video adapters on a given
machine. This program assumes that all variables other than the video
subsystem will remain constant across tests.
Procedure:
NOTE, ALL ROUTINES ARE DESIGNED FOR COLOR MONITORS. I haven't added the
necessary BIOS checking to ID monochrome systems. I hope that this does
not inconvenience anyone.
Invoke VT on the command line with one (or a mix) of the following switches:
/N:nnnnnn This is the number of displays. The program will count
from 1 to this value by increments of 1. If this
switch is not specified, the default is 20,000 samples.
/P:ppppp This is the number of times that the test should be
repeated. If this switch is not specified, then one
pass is assumed. Note, a value > 1 will enable the
program to generate a summary of test averages upon
completion of the tests.
/C Character Per Second Test. Note, this switch will
only work with the /N: switch and ONLY IF /N: is
specified before /C: For Example: VT /N:40000 /C
If you do not use the default, definitely use a number
greater than 20,000 with the /N: switch. (30,000 is
the default).
/W This will pause the program after each test. If this
switch is omitted, then the screens will not pause.
/X This switch disables all screen manipulations during
each test. Only a result message will be displayed and
this will be independent of the test. This serves to
generate a baseline by which adapters can be compared
against. If this switch is not specified, then screen
writes are enabled.
/1 CGA Graphics Test. This switch will only work with the
/N: switch and ONLY IF the /N: switch is specified before
the /1. For Example: VT /N:100 /1
For the graphics tests, the size switch specifies the
number of lines to draw. 50 is the default and for CGA,
the maximum is 200.
(Fills the screen with the color white)
/2 EGA Graphics Test. As with /1, /N: is the only other
switch that will work with it & /N: must be first.
For this mode, 350 is the maximum number of lines that
can be specified with the /N: switch.
(Fills the screen with the color yellow)
/3 VGA Graphics Test. The /N: switch must be declared as
mentioned above if you do not want the default 50 lines
drawn. In this test, 480 lines is the maximum that can
be specified with the /N: switch.
(Fills the screen with the color red)
/? This displays the help screen.
Testing Process:
VT sends all screen writes through BIOS and measures the number of clock ticks
that it takes for the system to complete the process. Tests are performed
using screen location statements and print statements. Color attributes are
not changed during the test. All tests use the same color attribute of 15 which
is High - intensity white during all tests. The program will determine from the
BIOS whether a color monitor is attached or not.
Examples:
VT /X This will write 10000 samples in
one pass with no screen writes.
VT /N:30000 /P:5 This will write 30000 samples for
5 passes with screen writes.
VT /P:10 /W This will write 20000 samples for
10 passes and will pause after each pass.
VT /N:200 /3 Performs the VGA test using 200 lines. Note that
the /N: switch is first & then the /1.
The difference between the tests that have the screen writes enabled, and the
tests that use the /X switch to disable the writes are amazing. On a CGA
system with a 286 processor, the difference was a 42% savings. On a SVGA
equipped 33 Mhz 386, the savings reached 60%. Video subsystems are quite a
bottleneck - that is sure. This program will helpfully allow a user to
evaluate several different cards, or perhaps the difference caused by shadowing
video ROM into RAM, or the difference that faster memory on a video card makes.
The Tests Themselves:
Counter Test: This test counts from 1 to the number specified.
It locates at a screen coordinate and then it
displays the value. If the /X switch is used,
then no screen functions will be used.
Locate Test: This test counts from 1 to the number specified.
For each number, a random X and a random Y coordinate
are generated and then the number is located at that
position. If the /X switch is used, then no screen
functions will be used.
Five Column Test: This test counts from 1 to the number specified.
For each number, the number is displayed in five
separate columns. Each new number replaces the
previous number displayed in all columns. If the /X
switch is used, then no screen function will be used.
Note: All messages concerning the test and the duration of the test are
excluded from the measurement process. All screen cleaning prior
to a test is also excluded from the measurement process.
History:
v1.10 01/29/92 Added the graphics and CPS tests.
v1.00 11/14/91 Initial Release Date.
Legal Blah:
I hope this program helps you evaluate some of your problems
or even makes some solutions/benefits clear. This program is
released as shareware. Its price is $5 for each concurrently
used copy. If you have any suggestions or comments, I'd REALLY
like to hear those too.
Sincerely,
George Spafford
3001 LakeShore Drive, #329
St. Joseph, MI 49085
Data: (616) 468-5026 Queued Access BBS 14.4Kb USR Dual HST
FIDOnet: 1:2340/0: Over 600 MB online.
Sysop: Tim Akright
Code CopyRight: November 1991
VT IS DISTRIBUTED AS IS. THE AUTHOR (GEORGE SPAFFORD) MAKES NO
WARRANTY OF ANY KIND, EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED
TO WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE,
WITH RESPECT TO THIS SOFTWARE AND DOCUMENTATION. IN NO EVENT SHALL
THE AUTHOR BE LIABLE FOR ANY DAMAGES, INCLUDING LOST PROFITS, LOST
SAVINGS, OR ANY OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OF OR THE INABILITY TO USE THIS PROGRAM.
----------------------------------------------------------------